# Tell make where to find source files; this is needed for the makefiles.
# Note the other doc Makefiles do not use VPATH anymore, instead
-# they set infodir to an absolute path. Not doing that here in
+# they set buildinfodir to an absolute path. Not doing that here in
# case INFO_TARGETS gets too long for some feeble shells.
# (cf src/Makefile.in's passing of $lisp to make-docfile)
VPATH=@srcdir@
## Where the output files go.
## Note that the setfilename command in the .texi files assumes this.
-infodir=../../info
+buildinfodir=../../info
## Directory with emacsver.texi.
## Currently only used by efaq and calc.
emacsdir = $(srcdir)/../emacs
# Also add new entries to INFO_FILES in the top-level Makefile.in.
INFO_TARGETS = \
- $(infodir)/efaq
+ $(buildinfodir)/efaq
DVI_TARGETS = \
faq.dvi
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
-mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
+mkinfodir = @cd ${srcdir}; test -d ${buildinfodir} || mkdir ${buildinfodir} || test -d ${buildinfodir}
.PHONY: info dvi pdf
# Note: "<" is not portable in ordinary make rules.
## "short" target names for convenience, to just rebuild one manual.
-efaq : $(infodir)/efaq
-$(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
+efaq : $(buildinfodir)/efaq
+$(buildinfodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
$(mkinfodir)
cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
distclean: clean
# rm -f Makefile
-## infodir is relative to srcdir.
+## buildinfodir is relative to srcdir.
maintainer-clean: distclean
cd $(srcdir); for file in $(INFO_TARGETS); do \
rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \